package hash;

import org.junit.Test;

public class HashTest {
	@Test
	public void testHashCode() throws Exception {
		Person p  = new Person();
		
		System.out.println(p.hashCode());
		System.out.println(System.identityHashCode(p));
		Person p2  = new Person();
		
		System.out.println(p2.hashCode());
		System.out.println(System.identityHashCode(p2));
		System.out.println("11");
	}
}
